function name(callback) {
    setTimeout(() => {
        var name = "zeta"
        callback(name)
    }, 2000);
}

function age(callback) {
    setTimeout(() => {
        var age = "18"
        callback(age)
    }, 1000);
}

console.time()
name((name) => {
    age((age) => {
        console.timeEnd()
        console.log(`我叫${name},今年${age}岁`)
    })
})





function consol(b) {
    console.log(b)
}
function from (a, callback) { 
    callback(a)
}

from("愁啊姐",consol)